<?php

namespace App\Library\Requests\Help;

use App\Library\Requests\Base\BaseDTORequest;

class HelpOrderRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            'addressId' => 'required|integer|min:1',
            'code' => 'required|string|size:32|regex:' . __('com.codeReg'),
            $this->No => 'required|string|size:20|regex:' . __('com.serialNumberReg'),
            'remark' => 'nullable|string|max:200',
        ];
    }
}
